Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Halika Androm
Koshaku Gentlemen's Agreement
23
|
Posted - 2014.01.26 09:54:00 -
[1] - Quote
First off, thank you for this great tool!
I have a quick question - is it possible to quickly get the typeID for an item based on its typeName? I'd rather get this info from the bulkdata than from a separate csv list.
I was looking at the sources and trying to work out whether I would need to use intypes.Select() or something rather than invtypes.Get() (which only accepts typeID if I'm not mistaken). |

Halika Androm
Koshaku Gentlemen's Agreement
23
|
Posted - 2014.01.26 14:35:00 -
[2] - Quote
Entity wrote:Halika Androm wrote:I have a quick question - is it possible to quickly get the typeID for an item based on its typeName? Sure can. typesByName = cfg.invtypes.IndexedBy("typeName") then you can typesByName.Get(name)
Ah yes, makes sense! I don't know how I didn't see IndexedBy when I was looking at Select, SortBy etc heh. Cheers! |

Halika Androm
Koshaku Gentlemen's Agreement
23
|
Posted - 2014.02.18 15:38:00 -
[3] - Quote
It appears that the EVE update today has broken something. This line was working fine this morning before the patch:
Quote:region_id = long(self._configmgr.regions.IndexedBy('regionName').Get(self.region).regionID) but now I get this error:
Quote: File "D:\Tools\Python27\lib\site-packages\reverence\config.py", line 390, in __get__ value = self.method(obj) File "D:\Tools\Python27\lib\site-packages\reverence\config.py", line 403, in method return self._loadbulkdata(tableName=attrName, storageClass=storageClass, rowClass=rowClass, primaryKey=primaryKey, bulkID=bulkID) File "D:\Tools\Python27\lib\site-packages\reverence\config.py", line 1004, in _loadbulkdata raise RuntimeError("Unable to load '%s' (bulkID:%d)" % (tableName, bulkID)) RuntimeError: Unable to load 'regions' (bulkID:1400009)
|

Halika Androm
Koshaku Gentlemen's Agreement
23
|
Posted - 2014.02.25 09:12:00 -
[4] - Quote
Thanks for the speedy fix! Everything seems to be back to normal, will let you know if it borks itself heh :) |

Halika Androm
Koshaku Tactical Narcotics Team
23
|
Posted - 2014.02.25 09:12:19 -
[5] - Quote
Thanks for the speedy fix! Everything seems to be back to normal, will let you know if it borks itself heh :) |
|
|